package com.carsystems.mapper;



import com.carsystems.pojo.CarDetails;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CarDetailsMapper {

    List<CarDetails> querCarList();

    CarDetails querCarByPrimaryKey(Integer car_id);

    Integer addCar(CarDetails car);

    Integer updateCar(CarDetails car);

    int deleteCar(Integer car_id);

}
